go/types._TypeSet.methods (field)
23 uses
go/types (current package)
infer.go#L610: for _, m := range tset.methods {
lookup.go#L338: methods := under(T).(*Interface).typeSet().methods // T must be an interface
methodset.go#L158: mset = mset.add(t.typeSet().methods, e.index, true, e.multiples)
predicates.go#L412: a := xset.methods
predicates.go#L413: b := yset.methods
typeset.go#L30: methods []*Func // all methods of the interface; sorted by unique ID
typeset.go#L39: func (s *_TypeSet) IsAll() bool { return s.IsMethodSet() && len(s.methods) == 0 }
typeset.go#L55: func (s *_TypeSet) NumMethods() int { return len(s.methods) }
typeset.go#L59: func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
typeset.go#L63: return methodIndex(s.methods, pkg, name, foldCase)
typeset.go#L74: hasMethods := len(s.methods) > 0
typeset.go#L85: for i, m := range s.methods {
typeset.go#L280: for _, m := range tset.methods {
typeset.go#L293: assert(len(tset.methods) == 0)
typeset.go#L314: ityp.tset.methods = allMethods
typestring.go#L364: for _, m := range s.methods {
unify.go#L397: if len(xi.typeSet().methods) != len(yi.typeSet().methods) {
unify.go#L508: xmethods := xset.methods
unify.go#L509: ymethods := yset.methods
unify.go#L540: xmethods := xi.typeSet().methods
unify.go#L675: a := xset.methods
unify.go#L676: b := yset.methods